package com.example.tijianserver.response;

public enum TijianExceptionEnum {
    NO_TIJIAN_TAOCAN(1001,"无此体检套餐"),
    NO_HOSPIAYL(1002,"无此医院"),
    ORDERS_CANCEL(1003,"订单已取消"),
    IS_NOT_GONGZUORI(1004,"该日期非工作日"),
    PHONE_OR_PASSWORD_IS_WRONG(1005,"手机号或者密码错误"),
    SYSTEM_ERROR(1006,"系统异常"),
    REGISTER_FAIL(1007,"注册失败"),
    USER_IS_EXIST(1008,"用户已存在"),
    INVALID_PARAM(1009,"输入不完整或不符合要求"),
    HOSPIAYL_CLOSE(1010,"医院已关闭"),
    USER_NO_EXIST(1011,"用户不存在"),
    ORDERS_IS_EXIST(1012,"订单已存在"),
    ORDERS_NOT_PAY(1013,"订单未支付"),
    DOCTOR_IS_NOT_EXIST(1014,"不存在该医生"),
    ORDER_NO_CANCEL1(1015,"预约日期已过，不可取消预约"),
    ORDER_NO_CANCEL2(1016,"预约日期距离当前日期不足两天，不可取消预约");

    //1001:无此体检套餐  1002:无此医院  1003:订单已取消   1004:

    TijianExceptionEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    private Integer status;
    private String desc;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
